package com.wxg.weblaf.demo;

import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;

public class JFrameDemo extends JFrame{
	private static final long serialVersionUID = 8841360257025350671L;
	private JButton b1 = new JButton("Button 1"), 
					b2 = new JButton("Button 1");
	
	public JFrameDemo(){
		setLayout(new FlowLayout());
		add(b1);
		add(b2);
	}
	
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			
			public void run() {
				
//				WebLookAndFeel.install();
				
				JFrame jf = new JFrameDemo();
				jf.setTitle("JFrameDemo");
				jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
				jf.setSize(400, 200);
				jf.setVisible(true);
				
			}
		});
	}
}
